import http from "./http";


export const listImages = (_page, _size, _original) => {
    return http.requestGet("/admin/image/list/" + _page + "/" + _size + "/" + _original);
}


export const deleteImage = (_id) => {
    return http.requestDelete('/admin/image/' + _id);
}

export const topImage = (_id) => {
    return http.requestPut('/admin/image/top/' + _id);
}